package com.iuie.ns.datum.service;

import java.io.IOException;
import java.util.List;

import org.apache.solr.client.solrj.SolrServerException;

import com.iuie.ns.datum.vo.BlogInfoVO;

public interface IBlogSolrService {

	
	/**
	 * 根据内容和标题查询
	 * @param key
	 * @return
	 */
    List<BlogInfoVO> findByContextOrName(String key, String search) throws SolrServerException, IOException;

    void deleteBlogFileIndex(String deleteCondition) throws Exception;

    void createSolrIndex(BlogInfoVO blogInfo);
    
}
